package com.fastloan.mgt.invest.service.impl;

import com.fastloan.common.BasicServiceImpl;
import com.fastloan.mgt.invest.dao.InvestTempSubjectMapper;
import com.fastloan.mgt.invest.model.InvestTemp;
import com.fastloan.mgt.invest.model.InvestTempSubject;
import com.fastloan.mgt.invest.service.InvestTempSubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author rankai
 *         createTime 2017-08-2017/8/9 14:09
 */
@Service
public class InvestTempSubjectServiceImpl extends BasicServiceImpl<InvestTempSubject> implements InvestTempSubjectService {

    @Autowired
    private InvestTempSubjectMapper investTempSubjectMapper;

    @Override
    public List<InvestTemp> selectBySubId(String subjectId) {
        return investTempSubjectMapper.selectBySubId(subjectId);
    }
}
